package com.ssy.lingxi.enhance.constant;

/**
 * 配送方式 - enum
 * @author fhj
 * @date 2020/10/19
 * @version 2.0.0
 */
public enum DeliveryTypeEnum {

    LOGISTICS(1, "物流"),
    PICK_UP_ADDRESS(2, "自提"),
    NO_DELIVERY(3, "无需配送");

    private final Integer code;
    private final String message;

    DeliveryTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
